﻿using banyuetan_2_0.IServices;
using banyuetan_2_0.Model.Models;
using banyuetan_2_0.Repository;
using banyuetan_2_0.Services.BASE;

namespace banyuetan_2_0.Services
{
    public class CategoryAndArticleService:BaseServices<CategoryAndArticle>,ICategoryAndArticleService
    {
        private readonly ICategoryAndArticleRepository _categoryAndArticleRepository;

        public CategoryAndArticleService(ICategoryAndArticleRepository categoryAndArticleRepository)
        {
            _categoryAndArticleRepository = categoryAndArticleRepository;
            base.BaseDal = _categoryAndArticleRepository;
        }
    }
}
